<!DOCTYPE html>
<html lang="ch">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
	<meta name="format-detection" content="telephone=no" />
	<script>
		var html = document.getElementsByTagName('html')[0];
		html.style.fontSize = html.clientWidth / 3.75 + "px";
	</script>
	<title>我的销售</title>
	<link rel="stylesheet" href="../static/css/Reset.css">
	<link rel="stylesheet" href="../static/css/sales_index.css" />
</head>
<body>
	<div id="salesIndex" v-cloak>
		<div class="sdd_sales">
			<a href="../sales/bill_index.html" class="sdd_income" ><img src="../static/images/income.png"/><span>收入</span></a>
			<p class="sdd_saleNum">今日销售(元)</p>
			<p class="sdd_salePri">¥{{sales.todaySaleM}}</p>
			<div class="sdd_money">
				<p>昨日结算</p>
				<p class="sdd_price">¥{{sales.yesterdaySettlementM}}</p>
			</div>
			<div class="sdd_money"> 
				<p>本月结算</p>
				<p class="sdd_price">¥{{sales.monthSettlementM}}</p>
			</div>
			<div class="sdd_money border0">
				<p>累计结算</p>
				<p class="sdd_price">¥{{sales.totalSettlementM}}</p>
			</div>
		</div>
		<div class="sdd_salesBg"><img src="../static/images/salesBg.jpg" /></div>
		<div class="sdd_orderSta">
			<p class="sdd_orderTitle">批发订单</p>
			<ul>
				<a href="pforderList.html?type=2"><li><div><img src="../static/images/dqr.png" /><i :class="[nums.waitConfirm==0?'none':'block']">{{nums.waitConfirm}}</i></div><p class="sdd_orderNums">待确认</p></li></a>
				<a href="pforderList.html?type=3"><li><div><img src="../static/images/yqr.png" /><i :class="[nums.waitPay==0?'none':'block']">{{nums.waitPay}}</i></div><p class="sdd_orderNums">已确认</p></li></a>
				<a href="pforderList.html?type=4"><li><div><img src="../static/images/yfk.png" /><i :class="[nums.paid==0?'none':'block']">{{nums.paid}}</i></div><p class="sdd_orderNums">已付款</p></li></a>
				<a href="pforderList.html?type=5"><li><div><img src="../static/images/ywc.png" /><i :class="[nums.success==0?'none':'block']">{{nums.success}}</i></div><p class="sdd_orderNums">已完成</p></li></a>
				<a href="pforderList.html?type=6"><li><div><img src="../static/images/yqx.png" /><i :class="[nums.fail==0?'none':'block']">{{nums.fail}}</i></div><p class="sdd_orderNums">已取消</p></li></a>
			</ul>
		</div>
		<a href="wholesale_management.html" class="sdd_wholesale">批发商品管理</a>
		<!--footer 组件-->
		<farm-footer></farm-footer>
		<!--loading组件-->
		<loading v-show="showLoading"></loading>
	</div>
</body>
<script src="https://api.map.baidu.com/api?v=2.0&ak=1BiZDIdoRV9iryDNcdF4oU37pqwftOin&s=1"></script>
<script type="text/javascript" src="../libs/jquery.min.js"></script>
<script type="text/javascript" src="../libs/fastclick.min.js"></script>
<script type="text/javascript" src="../libs/vue/vue.min.js"></script>
<script type="text/javascript" src="../libs/vue/vue-resource.min.js"></script>
<script type="text/javascript" src="../libs/require.js"></script>
<script type="text/javascript" src="../libs/var.js"></script>
<script type="text/javascript" src="../libs/common.js"></script>
<script type="text/javascript" src="./js/sale.js"></script>
</html>